<div class="categories form">
<?php //echo $this->Form->create('Category');?>
<?php echo $this->Form->create('Category', array('enctype' => 'multipart/form-data')); ?>
	<fieldset>
		<legend><?php __('Add Category'); ?></legend>
	<?php
		echo $this->Form->input('parent_id');
		echo $this->Form->input('name');
                echo $this->Form->input('image', array('type' => 'file'));
//		debug($parents);
	?>
	</fieldset>
<?php echo $this->Form->end(__('Save', true));?>
</div>
